#ifndef NOTIFY_H
#define NOTIFY_H

#include <QtGui/QWidget>
#include <QMessageBox>

/*!

BlackRabbit - OpenSource IDE.
@author Edward Sarkisyan (edward.sarkisyan@gmail.com)
Use LGPL (http://www.gnu.org/copyleft/lesser.html)

*/

namespace Ui {
    class Notify;
}

class Notify : public QWidget {
    Q_OBJECT
public:
    /*!
      @class Notify
      Class provides notification widget'll placed on Notification area @link NotificationsArea
      */

    /*!
      Constructor
      @arg parent Parent widget
      */
    Notify(QWidget *parent = 0);
    void setText(QString text);
    /*!
      Descructor
      */
    ~Notify();

protected:
    void changeEvent(QEvent *e);

private:
    /*!
      @variable m_ui UI
      */
    Ui::Notify *m_ui;

private slots:
    /*!
      Runs if click notifications text
      */
    void on_text_clicked();
};

#endif // NOTIFY_H
